/*
 * Copyright (c) 2023-2025 elsfs Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.elsfs.cloud.classes.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.elsfs.cloud.common.core.entity.BaseEntity;

/**
 * 课程表
 *
 * @author zeng
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SchoolClassCourse extends BaseEntity {
  @TableId
  @Schema(description = "课程表ID")
  private String classCourseId;

  @Schema(description = "班级ID")
  private String classGradesId;

  @Schema(description = "课程名称")
  private String courseName;

  @Schema(description = "教师ID")
  private String teacherId;

  @Schema(description = "教师姓名")
  private String teacherName;

  @Schema(description = "周次")
  private String week;

  @Schema(description = "星期几")
  private String day;

  @Schema(description = "第几节")
  private String section;

  @Schema(description = "教室")
  private String room;

  @Schema(description = "开始时间")
  private LocalTime startTime;

  @Schema(description = "结束时间")
  private LocalTime endTime;
}
